<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <a v-bind:href="url">百度</a><br>
    <a :href="url">百度</a><br>
    <a :class="cls">div</a>

</div>
<script src="js/vue.js" ></script>
<script >
    let vm =new Vue({
       el:'#app',
        data:{
           url:'https://www.baidu.com',
            cls:'my'
        },
        methods:{

        }
    });
</script>
</body>
</html>